package com.kaifamiao.www.demo.D0719;

public class De04 {
    public static void main(String[] args) {
        int[] nums = {3,5,1,6,4,9};

        //遍历数组
        for (int index = 0;index < nums.length;index ++){
            System.out.println(nums[index]);
        }
        //增强for循环，for-each
        //for (int num : nums){
           // System.out.println(num);
       // }
    }
}
